import { Card } from 'antd';
import React from 'react';

interface Props {
    title?: string;
    children: React.ReactNode;
}

const MyCard: React.FC<Props> = ({ title, children }) => {
    return (
        <Card title={title} styles={{ header: { borderBottom: 'none', fontSize: 20 }, body: { paddingTop: 0 } }}>
            {children}
        </Card >
    )
}

export default MyCard;